/* 页面进入/离开动画样式 */
.page-transition-enter {
  opacity: 0;
  transform: translateX(20px); /* 从右侧进入 */
}

.page-transition-enter-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 300ms, transform 300ms; /* 与timeout时间一致 */
}

.page-transition-exit {
  opacity: 1;
}

.page-transition-exit-active {
  opacity: 0;
  transform: translateX(-20px); /* 向左侧离开 */
  transition: opacity 300ms, transform 300ms;
}

/* <=====> */
.page-transition-enter {
  opacity: 0;
  transform: scale(0.95);
}

.page-transition-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 300ms, transform 300ms;
}

.page-transition-exit-active {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 300ms, transform 300ms;
}